//
// 此文件是由 JavaTM Architecture for XML Binding (JAXB) 引用实现 v2.2.8-b130911.1802 生成的
// 请访问 <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
// 在重新编译源模式时, 对此文件的所有修改都将丢失。
// 生成时间: 2019.03.12 时间 12:12:00 PM CST 
//


package com.youhome.service.listhub;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>AnimalPolicy complex type的 Java 类。
 * 
 * <p>以下模式片段指定包含在此类中的预期内容。
 * 
 * <pre>
 * &lt;complexType name="AnimalPolicy">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="PermitAnimals" type="{http://rets.org/xsd/RETSCommons}nullable-boolean" minOccurs="0"/>
 *         &lt;element name="IsDepositRequired" type="{http://rets.org/xsd/RETSCommons}nullable-boolean" minOccurs="0"/>
 *         &lt;element name="PermittedTypes" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="WeightLimit" type="{http://rets.org/xsd/RETSCommons}WeightLimit" minOccurs="0"/>
 *         &lt;element name="PetDepositAmount" type="{http://rets.org/xsd/RETSCommons}SecureMoney" minOccurs="0"/>
 *         &lt;element name="PetAdditionalFee" type="{http://rets.org/xsd/RETSCommons}FeeWithFrequency" minOccurs="0"/>
 *         &lt;any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AnimalPolicy", propOrder = {
    "permitAnimals",
    "isDepositRequired",
    "permittedTypes",
    "weightLimit",
    "petDepositAmount",
    "petAdditionalFee",
    "any"
})
public class AnimalPolicy {

    @XmlElement(name = "PermitAnimals")
    protected String permitAnimals;
    @XmlElement(name = "IsDepositRequired")
    protected String isDepositRequired;
    @XmlElement(name = "PermittedTypes")
    protected String permittedTypes;
    @XmlElement(name = "WeightLimit")
    protected WeightLimit weightLimit;
    @XmlElement(name = "PetDepositAmount")
    protected SecureMoney petDepositAmount;
    @XmlElement(name = "PetAdditionalFee")
    protected FeeWithFrequency petAdditionalFee;
    @XmlAnyElement(lax = true)
    protected List<Object> any;

    /**
     * 获取permitAnimals属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getPermitAnimals() {
        return permitAnimals;
    }

    /**
     * 设置permitAnimals属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setPermitAnimals(String value) {
        this.permitAnimals = value;
    }

    /**
     * 获取isDepositRequired属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getIsDepositRequired() {
        return isDepositRequired;
    }

    /**
     * 设置isDepositRequired属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setIsDepositRequired(String value) {
        this.isDepositRequired = value;
    }

    /**
     * 获取permittedTypes属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getPermittedTypes() {
        return permittedTypes;
    }

    /**
     * 设置permittedTypes属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setPermittedTypes(String value) {
        this.permittedTypes = value;
    }

    /**
     * 获取weightLimit属性的值。
     * 
     * @return
     *     possible object is
     *     {@link WeightLimit }
     *     
     */
    public WeightLimit getWeightLimit() {
        return weightLimit;
    }

    /**
     * 设置weightLimit属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link WeightLimit }
     *     
     */
    public void setWeightLimit(WeightLimit value) {
        this.weightLimit = value;
    }

    /**
     * 获取petDepositAmount属性的值。
     * 
     * @return
     *     possible object is
     *     {@link SecureMoney }
     *     
     */
    public SecureMoney getPetDepositAmount() {
        return petDepositAmount;
    }

    /**
     * 设置petDepositAmount属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link SecureMoney }
     *     
     */
    public void setPetDepositAmount(SecureMoney value) {
        this.petDepositAmount = value;
    }

    /**
     * 获取petAdditionalFee属性的值。
     * 
     * @return
     *     possible object is
     *     {@link FeeWithFrequency }
     *     
     */
    public FeeWithFrequency getPetAdditionalFee() {
        return petAdditionalFee;
    }

    /**
     * 设置petAdditionalFee属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link FeeWithFrequency }
     *     
     */
    public void setPetAdditionalFee(FeeWithFrequency value) {
        this.petAdditionalFee = value;
    }

    /**
     * Gets the value of the any property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the any property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getAny().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link Object }
     * 
     * 
     */
    public List<Object> getAny() {
        if (any == null) {
            any = new ArrayList<Object>();
        }
        return this.any;
    }

}
